﻿using AutoMapper;
using Hotel.Domain;
using Microsoft.Extensions.Caching.Distributed;
using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Repositories.Dics
{
    public class DicRepository : Repository<Dic>, IDicRepository
    {
        private readonly ISqlSugarClient db;
        private readonly IDistributedCache distributedCache;
        private readonly IMapper mapper;

        public DicRepository(ISqlSugarClient db, IDistributedCache distributedCache, IMapper mapper) : base(db)
        {
            this.db = db;
            this.distributedCache = distributedCache;
            this.mapper = mapper;
        }
    }
}
